package com.lagou.edu.factory;

import java.util.ArrayList;

public class BeanDefinition {
    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Class<?> getCl() {
        return cl;
    }

    public void setCl(Class<?> cl) {
        this.cl = cl;
    }

    public ArrayList<BeanDefinition> getRelations() {
        return relations;
    }

    public void setRelations(ArrayList<BeanDefinition> relations) {
        this.relations = relations;
    }

    public BeanDefinition(String className, Class<?> cl) {
        this.className = className;
        this.cl = cl;
        relations = new ArrayList<>();
    }

    String className;
    Class<?> cl;
    ArrayList<BeanDefinition> relations;

}
